package ssm.blog.service;

import ssm.blog.entity.Album;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @program: lyon
 * @description: 相册服务层
 * @author: Lyon
 * @create: 2018-06-06 14:06
 **/
public interface AlbumService {
    int add(Album album);
    List<Album> list();
    List<Album> listByKeyword(String keyword);
    Album getById(Integer id);
    int update(Album album);
    int deleByID(Integer id, HttpSession session);
    int deles(List<Integer> ids,HttpSession session);
    int count();
}
